package com.ygou.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ygou.pojo.GoodsAppraises;
import com.ygou.service.GoodsAppraisesService;

@Controller
public class GoodsAppraisesController {
	@Autowired
	private GoodsAppraisesService goodsAppraisesService;
	
	@RequestMapping(value="/addAppraises",produces="application/json;charset=UTF-8")
	public @ResponseBody GoodsAppraises addAppraises(GoodsAppraises appraises){
		return goodsAppraisesService.insert(appraises);
	} 
}
